home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / Makefile.in < prev    next >
Makefile  |  2002-12-18  |  3KB  |  106 lines

  1. SHELL=/bin/sh
  2. .SUFFIXES:
  3. .SUFFIXES: .c .o
  4.  
  5. all: tg
  6.  
  7. CC=@CC@
  8. YACC=@YACC@
  9. LEX=@LEX@
  10. CFLAGS=-g -Wall
  11.  
  12. prefix=@prefix@
  13. exec_prefix=$(prefix)
  14. bindir=$(exec_prefix)/bin
  15. datadir=$(prefix)/share
  16.  
  17. INSTALL=@INSTALL@
  18. INSTALL_DATA=@INSTALL_DATA@
  19.  
  20. TGOBJ=tgmain.o y.tab.o lex.yy.o alloc.o generator.o atom.o crc.o txttab.o \
  21.  lintab.o errtab.o strbuf.o util.o eval.o omani.o oprint.o srctab.o stack.o \
  22.  output.o break.o func.o debug.o hash.o printf.o db.o istack.o frame.o use.o
  23.  
  24. tg: $(TGOBJ)
  25.     $(CC) -g $(TGOBJ) -o tg
  26.  
  27. y.tab.o: y.tab.c
  28.     $(CC) -c -g y.tab.c -o y.tab.o
  29.  
  30. lex.yy.o: lex.yy.c
  31.     $(CC) -c -g lex.yy.c -o lex.yy.o
  32.     
  33. lex.yy.c: tg.l
  34.     $(LEX) tg.l
  35.  
  36. tgmain.o: y.tab.h
  37.  
  38. y.tab.h: tg.y
  39.     $(YACC) -d tg.y
  40.  
  41. y.tab.c: tg.y
  42.     $(YACC) -d tg.y
  43.  
  44. clean:
  45.     rm -f *.o tg y.output M*.bak core *.core
  46.  
  47. maintainer-clean: clean
  48.     rm -f config.h config.status config.cache config.log lex.yy.? y.tab.? tags
  49.     rm -rf tg-* html/*
  50.  
  51.        
  52. install: 
  53.     $(INSTALL) tg $(bindir)
  54.  
  55. uninstall:
  56.     rm -f $(bindir)/tg
  57.     
  58.                
  59. depend: 
  60.     makedepend -Y *.c 2> /dev/null
  61.  
  62. TAGS: 
  63.     ctags *
  64.     
  65. # DO NOT DELETE THIS LINE (generated dependencies)
  66.  
  67. alloc.o: sysdefs.h config.h
  68. atom.o: sysdefs.h config.h alloc.h crc.h list.h atom.h
  69. break.o: alloc.h generator.h structs.h txttab.h lintab.h sysdefs.h config.h
  70. crc.o: crc_table.h
  71. db.o: db.h
  72. debug.o: atom.h debug.h structs.h txttab.h lintab.h sysdefs.h config.h
  73. errtab.o: alloc.h sysdefs.h config.h atom.h lintab.h
  74. eval.o: atom.h db.h debug.h structs.h txttab.h lintab.h eval.h frame.h func.h
  75. eval.o: generator.h istack.h omani.h strbuf.h srctab.h sysdefs.h config.h
  76. eval.o: stack.h util.h version.h
  77. frame.o: frame.h omani.h
  78. func.o: alloc.h atom.h eval.h structs.h txttab.h lintab.h func.h generator.h
  79. func.o: hash.h output.h omani.h printf.h strbuf.h sysdefs.h config.h util.h
  80. generator.o: alloc.h atom.h break.h debug.h structs.h txttab.h lintab.h
  81. generator.o: eval.h generator.h omani.h output.h sysdefs.h config.h strbuf.h
  82. generator.o: use.h util.h
  83. hash.o: alloc.h hash.h list.h config.h sysdefs.h
  84. istack.o: alloc.h istack.h sysdefs.h config.h
  85. lex.yy.o: y.tab.h alloc.h sysdefs.h config.h txttab.h
  86. lintab.o: lintab.h alloc.h sysdefs.h config.h
  87. omani.o: alloc.h sysdefs.h config.h omani.h list.h
  88. oprint.o: atom.h omani.h sysdefs.h config.h
  89. output.o: alloc.h atom.h debug.h structs.h txttab.h lintab.h generator.h
  90. output.o: hash.h sysdefs.h config.h
  91. printf.o: alloc.h generator.h structs.h txttab.h lintab.h omani.h sysdefs.h
  92. printf.o: config.h
  93. srctab.o: srctab.h structs.h txttab.h lintab.h hash.h
  94. stack.o: alloc.h generator.h structs.h txttab.h lintab.h list.h config.h
  95. stack.o: stack.h sysdefs.h omani.h
  96. strbuf.o: alloc.h sysdefs.h config.h
  97. sysdefs.o: sysdefs.h config.h
  98. tgmain.o: alloc.h atom.h db.h y.tab.h sysdefs.h config.h generator.h
  99. tgmain.o: structs.h txttab.h lintab.h errtab.h srctab.h output.h use.h
  100. tgmain.o: version.h
  101. tstgen.o: sysdefs.h config.h
  102. txttab.o: alloc.h sysdefs.h config.h txttab.h
  103. use.o: generator.h structs.h txttab.h lintab.h use.h
  104. util.o: strbuf.h
  105. y.tab.o: alloc.h generator.h structs.h txttab.h lintab.h util.h
  106.